home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
Borland Visual dBASE Professiona v7.0
/
DATA1.CAB
/
Sample_dBASE
/
Mugs
/
Inventory.DMD
< prev
next >
Wrap
Text File
|
1997-11-20
|
1KB
|
53 lines
//--------------------------------------------------------------
//
// Inventory.dmd - Mugs Sample Application
//
// Inventory Data Module for the Customer data entry form.
//
// Dependencies: MUGS.CDM
// INVENTORY.DBF
// SUPPLIER.DBF
//
// Visual dBASE Samples Group
//
// $Revision: 1.5 $
//
// Copyright (c) 1997, Borland International, Inc.
// All rights reserved.
//
//---------------------------------------------------------------
** END HEADER -- do not remove this line
//
// Generated on 10/09/97
//
class InventoryDataModule of MUGSDATAMODULE from "mugs.cdm"
this.SUPPLIER1 = new QUERY()
this.SUPPLIER1.parent = this
with (this.SUPPLIER1)
left = 6
top = 3
database = form.dbmugs
sql = 'SELECT * FROM "SUPPLIER.DBF"'
active = true
endwith
this.INVENTORY1 = new QUERY()
this.INVENTORY1.parent = this
with (this.INVENTORY1)
left = 2
top = 3
database = form.dbmugs
sql = 'SELECT * FROM "INVENTORY.DBF"'
active = true
endwith
with (this.INVENTORY1.rowset)
fields["Supplier ID"].lookupSQL := 'SELECT supplier."Supplier ID", company FROM "supplier.dbf" supplier'
endwith
endclass